from django.shortcuts import render
from django.http import  request
from django.views import View

class IndexView(View):
    '''首页'''
    def get(self,request):
        return render(request, 'index.html')
